// pages/sort2/sort2.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    tabList: ["排骨", "猪骨", "五花肉", "瘦肥肉", "猪骨汤", "猪杂", "其他"],
    goodsList: [{
      title: "土豆",
      desc: "规格: 1kg/箱",
      price: "8.00",
      imgUrl: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1564119746662&di=4691acd3bcac355e6d26f4c388bf5edf&imgtype=0&src=http%3A%2F%2Fimage02.71.net%2Fimage02%2F97%2F51%2F39%2F96%2Fc825651b-fda7-40b3-9ce8-1c178ec01e15.jpg"
    }, {
      title: "土豆",
      desc: "规格: 1kg/箱",
      price: "8.00",
      imgUrl: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1564119746662&di=4691acd3bcac355e6d26f4c388bf5edf&imgtype=0&src=http%3A%2F%2Fimage02.71.net%2Fimage02%2F97%2F51%2F39%2F96%2Fc825651b-fda7-40b3-9ce8-1c178ec01e15.jpg"
    }]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})